window.addEvent('load', function() {

	var fxOPC2 = new Array (16);
	var menuSection = $$('#menu-section div');
	var sections = $$('#menu-activities table');

	menuSection.each (function (opcion, iOPC) {
		opcion.setStyle ('background-color', bgColorMenu[iOPC]);
	});
	
	var mainMenu = $('mainMenu');
	mainMenu.setOpacity (0.4);
	
	mainMenu.addEvents ({
		'mouseenter': function () {
			mainMenu.setOpacity (1);
		},
		'mouseleave': function () {
			mainMenu.setOpacity (0.4);
		}
	});
});

var bgColorMenu = new Array(12);
//					A		B		  F		    D		E		    I		G		H		L		   J	    K		N		M			C
bgColorMenu = ['#f48f00', '#86b', '#12539f', '#C16', '#009fbc', '#006635', '#8b3', '#F54', '#F42', '#da012f', '#B10', '#EA2', '#0085c4', '#4B4', '#FFF'];